package com.baize.channel.game.util;

import android.content.Context;
import android.util.Base64;
import android.util.Log;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;

public class CommonUtil {
    public static final String TAG = "jsShell.cu";

    public static void printThrowableInfo(Throwable ex) {
        Log.e(TAG, "====printThrowableInfo begin====");
        StringWriter stringWriter = new StringWriter();
        ex.printStackTrace(new PrintWriter(stringWriter));
        Log.e(TAG, stringWriter.toString());
        Log.e(TAG, "====printThrowableInfo end====");
    }
}